package tech.xs.auth.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.util.MultiValueMap;
import org.springframework.web.bind.annotation.*;
import tech.xs.auth.api.domain.bo.token.UpdateTokenBo;
import tech.xs.common.framework.domain.model.ApiResult;

@FeignClient(name = "${framework.service.auth.name}", contextId = "AuthTokenApi")
public interface AuthTokenApi {


    @PostMapping("/token/update/byUserId")
    ApiResult<Void> updateToken(@RequestBody UpdateTokenBo bo);


}
